{extend name="public/common"} {block name="body"}
<div class="page-container">
    <div id="tab-system" class="HuiTab">
        <div class="tabCon">
            <div class="mt-20">
                <table class="table table-border table-bordered table-bg table-hover table-sort table-responsive">
                    <thead>
                    <tr class="text-c">
                        <th>统计时间</th>
                        <th>佣金总额</th>
                    </tr>
                    </thead>
                    <tbody>
                    {volist name="list" id="vo"}
                    <tr class="text-c">
                        <td>{$vo.in_time}</td>
                        <td>{if($vo.total>0)} <a style="text-decoration:underline;" href="javascript:;" onclick="parent.layer_show('{$vo.in_time}佣金列表','/admin/statistics/commissionDetail?name={$user}&in={$vo.in_time}')">{$vo.total}</a> {else/} 0 {/if}</td>
                    </tr>
                    {/volist}
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
{/block}
{block name="js"}
<script type="text/javascript">
    $(function() {
        $('.skin-minimal input').iCheck({
            checkboxClass : 'icheckbox-blue',
            radioClass : 'iradio-blue',
            increaseArea : '20%'
        });
        $("#tab-system").Huitab({
            index : 0
        });
    });

</script>
{/block}